std::forward_list::front
From Cppreference
< cpp | container | forward list
| reference front();
| (C++0x feature) | |
| const_reference front() const;
| (C++0x feature) | |
Returns reference to the first element in the container.
Parameters
(none)
Return value
reference to the first element
Complexity
constant